import mongoose from '../dbHelper';
import {defaultSchemaExtend, defaultSchemaOptions} from "../config/index";

const Schema = mongoose.Schema;

const DlyAdminShopWhiteSchema = new Schema(Object.assign({
    shopName: {
        type: String,
        required: true
    },
    shopId: {
        type: String,
        required: true
    }
 
}, defaultSchemaExtend), defaultSchemaOptions);

const DlyAdminShopWhite = mongoose.model('DlyAdminShopWhite', DlyAdminShopWhiteSchema, 'DlyAdminShopWhites');

export default DlyAdminShopWhite